package io.renren.modules.student.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
@Mapper
public interface StuExploreDao {

    List<Map<String, Object>> queryList(Map<String, Object> param);
    int queryTotal(Map<String, Object> param);
    Map<String, Object> queryNewData();
    Map<String, String> queryTeacherInfo( Map<String, Object> param);

    List<Map<String, String>> queryChapter(Map<String, Object> param);

    Map<String, String> queryCourseIntro(Map<String, Object> param);

    void insertCourse(Map<String, Object> param);

    String queryStudent(Map<String, Object> param);


    int queryIfAddCourse(Map<String, Object> param);

    List<Map<String, Object>> queryContent(String chapterId);

    Map<String, String> queryChapterData(Map<String, Object> param);
}
